-- GENERATED SPELL FOR [Rabid Bonepaw] --


function spell0_4690(pUnit, Event) --@Rabies,n/a--
pUnit:FullCastSpellOnTarget(3150,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_4690', 0, 1)
end

function Sorts_4690(pUnit, Event)
local choix_sorts_4690 = math.random(0, 0)
if choix_sorts_4690 == 0 then
pUnit:RegisterEvent('spell0_4690', 1, 1)
end
end

function mob4690_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_4690', math.random(1500, 3000), 1)
end

function mob4690_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4690_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4690_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(4690, 1, 'mob4690_Action')
RegisterUnitEvent(4690, 2, 'mob4690_Leave')
RegisterUnitEvent(4690, 3, 'mob4690_Kill')
RegisterUnitEvent(4690, 4, 'mob4690_Die')
